home *** CD-ROM | disk | FTP | other *** search
/ Best of www.BestZips.com (Collector's Edition) / Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO / menues__ / tc32102.zip / TCMD32.DOC < prev    next >
Text File  |  1996-04-17  |  65KB  |  1,516 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                   Take Command/32
  9.  
  10.                                   for Windows NT
  11.                                   and Windows 95
  12.  
  13.  
  14.  
  15.                                    Version 1.02
  16.  
  17.  
  18.                         Introduction and Installation Guide
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                                    Developed By
  25.                               Rex Conn and Tom Rawson
  26.  
  27.                                  Documentation By
  28.                      Hardin Brothers, Tom Rawson, and Rex Conn
  29.  
  30.  
  31.  
  32.  
  33.                                    Published By
  34.  
  35.                                  JP Software Inc.
  36.                                    P.O. Box 1470
  37.                              East Arlington, MA 02174
  38.                                       U.S.A.
  39.                                   (617) 646-3975
  40.                                 fax (617) 646-0904
  41.  
  42.  
  43.  
  44.  
  45.  
  46.                                   ACKNOWLEDGMENTS
  47.  
  48.  
  49.              We couldn't produce a product like Take Command without the
  50.              dedication and quality work of many people.  Our thanks to:
  51.  
  52.                   JP Software Staff:  Christine Alves, Mike Bessy, Michael
  53.                   Hart, Ellen Stone, Misty White.
  54.  
  55.                   Beta Test Support:  The sysops of CompuServe's CONSULT
  56.                   forum.
  57.  
  58.                   Online Support:  Brian Miller and Tess Heder of Channel 1
  59.                   BBS; Don Watkins of CompuServe's IBMNET.
  60.  
  61.                   Beta Testers:  We can't list all of our beta testers
  62.                   here.  A special thanks to all of you who helped make
  63.                   Take Command elegant, reliable, and friendly!
  64.  
  65.  
  66.  
  67.              The following tools are used in creating and maintaining Take
  68.              Command:
  69.  
  70.                   Compilers:       Microsoft Visual C++, Microsoft Macro
  71.                                    Assembler
  72.                   Editors:         Edix (Emerging Technology), Brief
  73.                                    (Borland), Boxer (Boxer Software)
  74.                   Version Control: PVCS (Intersolv)
  75.                   Documentation:   Microsoft Word for Windows with Adobe
  76.                                    Type Manager
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.              Copyright 1995, JP Software Inc., All Rights Reserved.  "Take
  85.              Command," "4OS2," and "JP Software" are trademarks and "4DOS"
  86.              is a registered trademark of JP Software Inc.  Other product
  87.              and company names are trademarks of their respective owners.
  88.  
  89.                                                                        9-95
  90.                                                                    Contents
  91.         -------------------------------------------------------------------
  92.  
  93.  
  94.  
  95.         Contents
  96.  
  97.  
  98.         Introduction...............................................1
  99.             How to Use This Manual.................................3
  100.             Customer Service and Technical Support.................4
  101.  
  102.         Chapter 1 / Installation...................................5
  103.             Installing Take Command................................5
  104.             Changes Made During Installation.......................6
  105.             Manual Installation....................................6
  106.             Uninstalling Take Command..............................8
  107.  
  108.         Chapter 2 / Configuration.................................10
  109.             Creating and Configuring Take Command Items...........10
  110.             Take Command Startup Options..........................11
  111.             Configuring Take Command..............................12
  112.             TCSTART, TCEXIT, and Startup Commands.................13
  113.  
  114.         Chapter 3 / Using Take Command............................16
  115.             Using a Windows Command Line..........................16
  116.             Take Command and Windows..............................17
  117.             Character-Mode Applications...........................18
  118.             Take Command, 4DOS, and 4DOS for Windows NT...........19
  119.                 Using 4DOS Batch Files and Aliases................20
  120.  
  121.         Index.....................................................22
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.         -------------------------------------------------------------------
  146.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  i
  147.                                                                INTRODUCTION
  148.         -------------------------------------------------------------------
  149.  
  150.  
  151.  
  152.         INTRODUCTION
  153.  
  154.  
  155.         Welcome, and thanks for purchasing Take Command!
  156.  
  157.         We developed Take Command/32 to bring the power and convenience of
  158.         our popular 4DOS and 4OS2 programs to Windows NT and Windows 95
  159.         users.  Whether you are a computer novice or an experienced user,
  160.         Take Command/32 will help you get the most out of your Windows
  161.         system.
  162.  
  163.         You're probably already familiar with graphical applications
  164.         running under Windows NT or Windows 95, and with the command line,
  165.         but you may not be used to seeing them combined in one product.
  166.         Most Windows applications offer limited command-line capability at
  167.         best, and most command-line utilities aren't designed for a
  168.         graphical environment like Windows.
  169.  
  170.         We designed Take Command to give you the best of both worlds.
  171.         You'll probably find it most useful when you need to perform tasks
  172.         like managing your hard disk, scripting a series of steps with an
  173.         alias or batch file, or starting applications under Windows.  There
  174.         are graphical utilities that perform some of these tasks, but often
  175.         you may find it more convenient or productive to perform them from
  176.         the command line. Take Command also looks and feels like the other
  177.         Windows programs you use, unlike a character-mode session.
  178.  
  179.         Take Command offers a host of features that couldn't exist at all
  180.         in a character-mode command-line utility.  For example you can pop
  181.         up simple dialogs from a batch file, pass keystrokes to Windows
  182.         applications, use a Windows-based dialog to find files or text on
  183.         any of your disks, or configure Take Command with dialogs instead
  184.         of editing an .INI file.
  185.  
  186.         If you are familiar with the traditional command prompt, or with
  187.         4DOS, 4OS2, or 4DOS for Windows NT, you won't have to change your
  188.         computing habits or unlearn anything to use Take Command.  If you
  189.         know how to use commands to display a directory, copy a file, or
  190.         start an application program, you already know how to use Take
  191.         Command.  And if you are a 4DOS or 4DOS for Windows NT user, you
  192.         already know how to use most of the advanced features that we have
  193.         built into Take Command.  You can even use many of your 4DOS/NT
  194.         batch files with Take Command (see page 20 or the online help for
  195.         tips about making batch files work properly in both environments).
  196.  
  197.         Once you have Take Command installed, you can learn its new
  198.         features at your own pace.  Relax, enjoy Take Command's power, and
  199.         browse through the manuals occasionally.  Press the F1 key whenever
  200.  
  201.  
  202.         -------------------------------------------------------------------
  203.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  1
  204.                                                                INTRODUCTION
  205.         -------------------------------------------------------------------
  206.  
  207.  
  208.         you need help.  Take Command will soon become an essential part of
  209.         your computer, and you'll wonder how you ever got along without it.
  210.  
  211.         We are constantly working to improve Take Command.  If you have
  212.         suggestions for features or commands that we should include in the
  213.         next version, or any other way we could improve our product, please
  214.         let us know.  Many of the features in Take Command were suggested
  215.         by our users.  We can't promise to include every suggestion, but we
  216.         really do appreciate and pay attention to your comments.
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.         -------------------------------------------------------------------
  260.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  2
  261.                                                                INTRODUCTION
  262.         -------------------------------------------------------------------
  263.  
  264.  
  265.  
  266.  
  267.         How to Use This Manual
  268.  
  269.              This manual is only one part of the documentation that you
  270.              will need for Take Command.  It introduces the product and
  271.              will help you install it correctly on your computer.  It will
  272.              also help you understand some of the terms and concepts that
  273.              you will need to know to get the most from Take Command.
  274.  
  275.              Take Command/32 includes complete online help for all of its
  276.              built-in commands.  The online help provides information about
  277.              the commands and features of Take Command in an electronic
  278.              form which you can access quickly.  See page 14 for more
  279.              details about using the online help.
  280.  
  281.              We also offer a separate Reference Manual for Take Command.
  282.              It contains all of the information in the online help, in
  283.              printed form.  The Reference Manual is sometimes sold
  284.              separately from Take Command, so you may not find it in your
  285.              package.  If that's the case, use this manual to get started,
  286.              and use the online help for reference information.
  287.  
  288.              You should start with this introductory manual to install Take
  289.              Command on your system.  Once you have successfully installed
  290.              Take Command, you can move back and forth between this manual
  291.              and the online help and Reference Manual.
  292.  
  293.              For the sake of clarity, we have chosen not to indicate each
  294.              of the dozens of places in this manual where you can refer to
  295.              the Reference Manual or online help for additional
  296.              information.  If you see a reference here to a command, the
  297.              initialization file TCMD32.INI, or any Take Command feature,
  298.              you can be sure that detailed information on that topic is
  299.              available in the reference material.
  300.  
  301.              Files distributed with Take Command/32 cover important
  302.              additional information beyond what's included in the manuals.
  303.              README.DOC contains general notes, highlights of the latest
  304.              release, and brief installation instructions for those
  305.              installing from a downloaded copy, and UPDATxx.DOC contains
  306.              detailed information for users with older versions on what has
  307.              changed in the latest release ("xx" is the version number).
  308.  
  309.              JP Software also offers a version of Take Command for Windows
  310.              3.1, and may produce versions for other platforms in the
  311.              future.  Except where we specifically say otherwise, in this
  312.              manual the terms "Take Command" and "Take Command/32" are used
  313.              interchangeably to refer to the 32-bit version of Take Command
  314.              for Microsoft Windows NT and Windows 95.
  315.  
  316.         -------------------------------------------------------------------
  317.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  3
  318.                                                                INTRODUCTION
  319.         -------------------------------------------------------------------
  320.  
  321.  
  322.              If you are a 4DOS or 4DOS/NT user, or you use the Windows NT
  323.              or Windows 95 "MS-DOS Prompt" icon to do command-line work, be
  324.              sure to read Chapter 3 before using Take Command.  It will
  325.              give you a feel for some of the differences between a
  326.              character-mode command processor and a Windows-based one.
  327.  
  328.              You will likely find some parts of the documentation too
  329.              simple or too technical for your tastes.  Unless you are
  330.              convinced that one of those sections holds just the
  331.              information you need for a specific task, feel free to skip to
  332.              the next part of the manual that is more to your liking.  You
  333.              can use almost every feature of Take Command without having to
  334.              worry about other features or commands.
  335.  
  336.  
  337.         Customer Service and Technical Support
  338.  
  339.              Technical support is available via public electronic support
  340.              conferences, private electronic mail, telephone, fax, and
  341.              mail.  For complete details, including a listing of electronic
  342.              support conferences, see the Support topic in the online help,
  343.              or your Reference Manual.
  344.  
  345.              Customer service is always available through the telephone and
  346.              fax numbers listed on the title page of this manual.  See your
  347.              Reference Manual or the online help for electronic mail
  348.              addresses for our Sales and Customer Service departments.
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.         -------------------------------------------------------------------
  374.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  4
  375.                                                    CHAPTER 1 / INSTALLATION
  376.         -------------------------------------------------------------------
  377.  
  378.  
  379.  
  380.         CHAPTER 1 / INSTALLATION
  381.  
  382.  
  383.  
  384.         Installing Take Command
  385.  
  386.              To install Take Command you must run the INSTALL program on
  387.              your Take Command distribution disk.  INSTALL will copy the
  388.              files from the diskette to your hard disk, create a Windows
  389.              icon to run Take Command, and make any other changes necessary
  390.              for Take Command to run properly on your system.
  391.  
  392.              If you're installing a downloaded copy you will not have an
  393.              INSTALL program.  Instead, use the appropriate decompression
  394.              program (for example, PKUNZIP) to extract the files from your
  395.              download into a new directory.  Then follow the instructions
  396.              on page 6 to complete your installation.  If you are updating
  397.              from a previous version, check the README.DOC file for update
  398.              instructions.
  399.  
  400.              To begin the installation process, put the Take Command/32
  401.              distribution diskette in drive A.  (You can use drive B if you
  402.              prefer, in which case you should substitute "b" for "a" in the
  403.              instructions below.)  Use the Program Manager's File Run
  404.              option to enter the command:
  405.  
  406.                   a:install
  407.  
  408.              Then press the Enter key.
  409.  
  410.              Once the installation program has started, just follow the
  411.              instructions on the screen to install Take Command on your
  412.              system.  Use Express Installation for a quick and simple
  413.              installation with default settings, or use Custom Installation
  414.              for finer control over the installation process.
  415.  
  416.              You can exit from the installation program at any time by
  417.              pressing Esc, then pressing "Y" in response to the next
  418.              prompt.
  419.  
  420.              The Take Command files are contained in a special library file
  421.              on the distribution diskette.  You cannot simply copy the
  422.              files from the diskette onto your system.  You must use
  423.              INSTALL to extract and decompress the Take Command files even
  424.              if you want to perform a manual installation (see below), or
  425.              if you need to replace a damaged Take Command file on your
  426.              hard disk.
  427.  
  428.  
  429.  
  430.         -------------------------------------------------------------------
  431.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  5
  432.                                                    CHAPTER 1 / INSTALLATION
  433.         -------------------------------------------------------------------
  434.  
  435.  
  436.              If you also have our DOS command processor, 4DOS, do not
  437.              install Take Command in the same directory as 4DOS.  Some file
  438.              names (for example README.DOC) are the same in both products,
  439.              and the files should be kept separate to avoid confusion.
  440.  
  441.  
  442.         Changes Made During Installation
  443.  
  444.              Some Windows installation programs make changes to your system
  445.              which are difficult to find or modify.  While the Take Command
  446.              installation program makes few such changes, we know you may
  447.              feel more comfortable knowing exactly what is done to your
  448.              system and Windows configuration when you install Take
  449.              Command.
  450.  
  451.              Take Command's installation program takes the following steps.
  452.              Step (1) is always performed once you select a drive and
  453.              directory.  Express Installation selects steps (2) through (4)
  454.              automatically.  Custom Installation asks you to confirm steps
  455.              (2) through (4) individually.
  456.  
  457.                   1)Copy all Take Command files to a hard disk directory
  458.                     of your choice.
  459.  
  460.                   2)Brand your copy of Take Command with your name and
  461.                     serial number.
  462.  
  463.                   3)Copy the CTL3D32.DLL file to the \WINNT\SYSTEM32
  464.                     directory (under Windows NT) or the \WINDOWS\SYSTEM
  465.                     directory (under Windows 95), unless a newer version
  466.                     is already present in that directory.
  467.  
  468.                   4)Create a group for Take Command, and add items to that
  469.                     group for Take Command itself and for the online
  470.                     documentation.
  471.  
  472.  
  473.         Manual Installation
  474.  
  475.              There is little difference between manual and automated
  476.              installation for Take Command.  The Custom Installation option
  477.              will query you before any files are copied or existing files
  478.              are deleted or modified, so there is no real advantage to
  479.              performing these steps manually.  However if you prefer a
  480.              manual installation, you can extract the Take Command files
  481.              using the Custom Installation option, then follow the
  482.              instructions below.
  483.  
  484.              You must use manual installation if you have a downloaded copy
  485.              of Take Command (for downloaded copies, see the README.DOC
  486.  
  487.         -------------------------------------------------------------------
  488.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  6
  489.                                                    CHAPTER 1 / INSTALLATION
  490.         -------------------------------------------------------------------
  491.  
  492.  
  493.              file for any installation or update instructions specific to
  494.              the version you downloaded).
  495.  
  496.              To install Take Command/32 manually, first extract the files
  497.              to a directory on your hard disk.  We recommend that you use a
  498.              new directory for Take Command/32.  It can be on any hard disk
  499.              drive, and you can use any valid directory name.  After the
  500.              files are extracted, use the Esc key to exit from the
  501.              installation program.
  502.  
  503.              Next, install CTL3D32.DLL.  CTL3D32 is a Microsoft library
  504.              which gives a 3-dimensional appearance to some elements of the
  505.              Windows display for programs (like Take Command) that use it.
  506.              Use File Manager or a Windows DOS session to install
  507.              CTL3D32.DLL as follows:
  508.  
  509.                   * Check the date and time on the copy of CTL3D32.DLL
  510.                     that came with Take Command.  Then check your
  511.                     \WINNT\SYSTEM32 directory (under Windows NT) or your
  512.                     \WINDOWS\SYSTEM directory (under Windows 95) for the
  513.                     same file.
  514.  
  515.                   * If the version that came with Take Command is newer
  516.                     than the version in your Windows system directory, or
  517.                     if the file does not exist at all in the Windows
  518.                     system directory, then copy the newer version from the
  519.                     Take Command directory to the Windows system
  520.                     directory.  If the version in the Windows system
  521.                     directory is newer, leave it as-is.
  522.  
  523.                   * Delete the CTL3D32.DLL file from the Take Command
  524.                     directory.  This ensures that you do not have multiple
  525.                     copies of CTL3D32 on your system.  CTL3D32 only works
  526.                     properly if there is a single copy in the Windows
  527.                     system directory; if you have more than one copy you
  528.                     will receive an error when Take Command starts.
  529.  
  530.              Finally, under Windows NT use the following steps to create a
  531.              Take Command/32 item in the Program Manager's Main group (you
  532.              can use a different group or create a new group if you
  533.              prefer):
  534.  
  535.                   * Select the "Main" group.
  536.  
  537.                   * Select the Program Manager "File" menu.
  538.  
  539.                   * Select "New."
  540.  
  541.                   * Select "Program item."
  542.  
  543.  
  544.         -------------------------------------------------------------------
  545.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  7
  546.                                                    CHAPTER 1 / INSTALLATION
  547.         -------------------------------------------------------------------
  548.  
  549.  
  550.                   * Enter "Take Command," or any other title you desire,
  551.                     in the Description field.
  552.  
  553.                   * Enter the full path and name for TCMD32.EXE in the
  554.                     Command Line field (for example,
  555.                     C:\TCMD32\TCMD32.EXE).
  556.  
  557.                   * Enter the directory in which you want the Take Command
  558.                     window to start (if any) in the Working Directory
  559.                     field.
  560.  
  561.                   * Click on "OK" to accept the entry.
  562.  
  563.              Under Windows 95, use these steps to create a new shortcut for
  564.              Take Command/32 on the desktop:
  565.  
  566.                   * Click with mouse button 2 in any open area of the
  567.                     desktop
  568.  
  569.                   * On the popup menu click New, then Shortcut.
  570.  
  571.                   * Fill in the drive and path for TCMD32.EXE, and any
  572.                     other items you wish to set (no specific settings are
  573.                     required).
  574.  
  575.              Once the item or shortcut is created Take Command/32 will
  576.              start when you double-click the corresponding icon on the
  577.              desktop.  You can place any necessary commands or other
  578.              directives (e.g. @ininame to name a specific INI file) on the
  579.              startup command line (see page 11 for details).
  580.  
  581.              Take Command reads its configuration information from a file
  582.              named TCMD32.INI, normally stored in the Take Command
  583.              directory.  You can modify the first section of this file,
  584.              which begins with [TakeCommand], to configure Take Command to
  585.              meet your preferences; see page 12 for details.
  586.  
  587.  
  588.         Uninstalling Take Command
  589.  
  590.              We don't expect you to have trouble using Take Command, but we
  591.              know some people feel more comfortable knowing how to
  592.              uninstall a product as well as install it.  Or, you may need
  593.              to remove Take Command from one system to move it to another
  594.              system.
  595.  
  596.              To remove Take Command, just insert the distribution diskette,
  597.              start the INSTALL program as described on page 5, and select
  598.              the Uninstall Take Command option.  Uninstall will offer you
  599.              several options which "undo" the corresponding steps in the
  600.  
  601.         -------------------------------------------------------------------
  602.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  8
  603.                                                    CHAPTER 1 / INSTALLATION
  604.         -------------------------------------------------------------------
  605.  
  606.  
  607.              installation procedure.  Complete Uninstall will take all of
  608.              the other steps automatically, and remove Take Command
  609.              entirely from your system.
  610.  
  611.              The Uninstall option will attempt to reverse the changes made
  612.              during installation.  However if you have removed files,
  613.              changed group, item, or folder names, or otherwise modified
  614.              your system configuration, then the program may not be able to
  615.              complete all of the steps automatically or successfully.  In
  616.              this case you will need to perform some of them manually.
  617.  
  618.              To uninstall Take Command manually, first delete CTL3D32.DLL
  619.              from the \WINNT\SYSTEM32 or \WINDOWS\SYSTEM directory if you
  620.              are certain it is not in use by other applications (because
  621.              CTL3D32 is used fairly widely, in most cases you should not
  622.              delete it).  If you were using Take Command as your Windows
  623.              shell there will be a copy of TC32DLL.DLL in the same
  624.              directory; you can delete it as well.
  625.  
  626.              Use Program Manager (in Windows NT) or the Explorer (in
  627.              Windows 95) to remove any Take Command groups and / or items.
  628.  
  629.              Finally, check the Take Command directory for any files you
  630.              placed there that you want to save.  Use File Manager,
  631.              Explorer, or a DOS session to delete the remaining files from
  632.              the Take Command directory, and remove the directory.
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.         -------------------------------------------------------------------
  659.         Copr. 1995 JP Software Inc.   Take Command/32 Intro./Inst. Guide  9
  660.                                                   CHAPTER 2 / CONFIGURATION
  661.         -------------------------------------------------------------------
  662.  
  663.  
  664.  
  665.         CHAPTER 2 / CONFIGURATION
  666.  
  667.  
  668.         This chapter explains how you can tune Take Command to make it as
  669.         efficient and as useful as possible in your computing environment.
  670.         If Take Command works the way you want it to after installation,
  671.         you can skip this chapter.  You may, however, want to skim this
  672.         material to see what options are available.
  673.  
  674.         This chapter explains how to set up Take Command items in your
  675.         Windows groups, using the Take Command startup command line and
  676.         startup batch files, and the basics of configuring Take Command.
  677.         For more details on all of these topics, including complete
  678.         reference information on the configuration options and TCMD32.INI,
  679.         see your Reference Manual or online help.
  680.  
  681.  
  682.         Creating and Configuring Take Command Items
  683.  
  684.              You will typically start Take Command/32 from an item in one
  685.              of the Program Manager groups on your Windows NT desktop, or a
  686.              shortcut or folder on your Windows 95 desktop.  Usually a
  687.              single item is sufficient, but if you prefer you can create
  688.              multiple items to start Take Command with different startup
  689.              commands or options, or to run different batch files or other
  690.              commands.  You can use these items to run commonly-used
  691.              commands and batch files directly from the desktop.
  692.  
  693.              Each item or icon represents a different Take Command window.
  694.              Use the Properties screen for the item to set any necessary
  695.              command line parameters such as a command to be executed, any
  696.              desired switches, or the name and path for TCMD32.INI.  More
  697.              information on command line switches and options for Take
  698.              Command is included later in this section.
  699.  
  700.              For general information on creating and configuring desktop
  701.              items, see your Windows NT or Windows 95 documentation.
  702.  
  703.              When you configure a Take Command item, place the full path
  704.              and name for TCMD32.EXE in the Command Line field, and put any
  705.              startup options that you want passed to Take Command (e.g.,
  706.              the name of a startup batch file) after the TCMD32.EXE file
  707.              name.  For example:
  708.  
  709.                   Command Line:       C:\TCMD32\TCMD32.EXE C:\GO.BAT
  710.                   Working directory:  C:\
  711.  
  712.              You do not need to use the Change Icon button, because
  713.              TCMD32.EXE already contains an icon.
  714.  
  715.         -------------------------------------------------------------------
  716.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  10
  717.                                                   CHAPTER 2 / CONFIGURATION
  718.         -------------------------------------------------------------------
  719.  
  720.  
  721.              When Take Command starts it automatically runs the optional
  722.              TCSTART batch file (see page 13).  You can use this file to
  723.              load aliases and environment variables and otherwise
  724.              initialize Take Command.
  725.  
  726.              You can also place the name of a batch file, internal or
  727.              external command, or alias at the end of the Command Line
  728.              field for any item (as shown in the example above).  The batch
  729.              file, command, or alias will be executed after TCSTART, but
  730.              before the first prompt is displayed.
  731.  
  732.  
  733.         Take Command Startup Options
  734.  
  735.              Each Windows NT or Windows 95 program has a command line which
  736.              can be used to pass information to the program when it starts.
  737.              The command line is entered in the Command Line field for each
  738.              item in a Program Manager group or Explorer shortcut, and
  739.              consists of the name of the program to execute, followed by
  740.              any startup options.
  741.  
  742.              The Take Command startup command line does not need to contain
  743.              any information.  When invoked with an empty command line,
  744.              Take Command will configure itself from the TCMD32.INI file
  745.              (see page 12), run TCSTART (see page 13), and then display a
  746.              prompt and wait for you to type a command.  However, you may
  747.              add information to the startup command line that will affect
  748.              the way Take Command operates.
  749.  
  750.              Take Command recognizes three optional fields on the command
  751.              line.  If you use more than one of these fields, their order
  752.              is important.  The syntax for the command line is:
  753.  
  754.                   [@d:\path\inifile] [//iniline]... [[/C] command]
  755.  
  756.              In the descriptions below, d: means a drive letter and \path
  757.              means a subdirectory name.
  758.  
  759.                   @d:\path\inifile:  This option sets the path and name of
  760.                   the TCMD32.INI file.  You do not need this option if you
  761.                   aren't using a TCMD32.INI file, or if the file is named
  762.                   TCMD32.INI and is stored either in the same directory as
  763.                   TCMD32.EXE, or in the Windows NT or Windows 95 directory.
  764.                   This option is most useful if you want to start a Take
  765.                   Command window with a specific and unique .INI file.
  766.  
  767.                   //iniline:  This option tells Take Command to treat the
  768.                   text appearing between the // and the next space or tab
  769.                   as a TCMD32.INI directive.  The directive should be in
  770.                   the same format as a line in the [TakeCommand] section of
  771.  
  772.         -------------------------------------------------------------------
  773.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  11
  774.                                                   CHAPTER 2 / CONFIGURATION
  775.         -------------------------------------------------------------------
  776.  
  777.  
  778.                   TCMD32.INI, but it may not contain spaces, tabs, or
  779.                   comments.  This option overrides any corresponding
  780.                   directive in your TCMD32.INI file.  It is a convenient
  781.                   way to send Take Command one or two simple directives
  782.                   without modifying or creating a new TCMD32.INI file.
  783.  
  784.                    [/C] command:  This option tells Take Command to run a
  785.                   command when it starts.  The command will be run after
  786.                   TCSTART has been executed and before any command prompt
  787.                   is displayed.  It can be any valid internal or external
  788.                   command, batch file, or alias; you may include multiple
  789.                   commands by using the command separator.  All other
  790.                   startup options must be placed before the command,
  791.                   because Take Command will treat characters after the
  792.                   command as part of the command and not as additional
  793.                   startup options.
  794.  
  795.                   When the command is preceded by a /C, Take Command will
  796.                   execute the command and then exit and return to the
  797.                   parent program or the Windows desktop without displaying
  798.                   a prompt.
  799.  
  800.                   See page 13 for details on using the command option to
  801.                   run a startup batch file.
  802.  
  803.  
  804.         Configuring Take Command
  805.  
  806.              Take Command's configuration is controlled through a file of
  807.              initialization information called TCMD32.INI.  This file is
  808.              created during installation, and is stored in the same
  809.              directory as TCMD32.EXE.  (You can move TCMD32.INI to the
  810.              Windows NT or Windows 95 directory if you wish; Take Command
  811.              will find it in either location.)
  812.  
  813.              Take Command reads TCMD32.INI each time it starts, and
  814.              configures itself accordingly.
  815.  
  816.              Many of the TCMD32.INI options can be set directly from within
  817.              Take Command using the configuration dialogs, which are
  818.              accessible from the Configure Take Command selection on the
  819.              Options menu.  There are several pages of options, selectable
  820.              from the list box on the left side of the dialog.
  821.  
  822.              When you use the configuration dialogs, be sure to click the
  823.              Save button to save your changes in TCMD32.INI.  The OK button
  824.              will save the configuration changes for the current session,
  825.              but will not record them in TCMD32.INI for use in future
  826.              sessions.  The help text available from the Help button
  827.  
  828.  
  829.         -------------------------------------------------------------------
  830.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  12
  831.                                                   CHAPTER 2 / CONFIGURATION
  832.         -------------------------------------------------------------------
  833.  
  834.  
  835.              explains which specific TCMD32.INI directive is set by each
  836.              item in the dialog.
  837.  
  838.              TCMD32.INI is divided into sections like other Windows .INI
  839.              files.  Each section begins with a section name in square
  840.              brackets, for example:
  841.  
  842.                   [Fonts]
  843.  
  844.              The options you can set in TCMD32.INI are all in the
  845.              [TakeCommand] section, which is normally the first one in the
  846.              file.  This is the section modified by the configuration
  847.              dialogs.  Take Command maintains all other sections of
  848.              TCMD32.INI itself; you should not modify them unless you are
  849.              instructed to do so by our support personnel.
  850.  
  851.              See the Reference Manual or the TCMD32.INI topic in the online
  852.              help for complete details on the format and meaning of the
  853.              directives used in the [TakeCommand] section of TCMD32.INI.
  854.              Advanced Directives and Key Mapping Directives must be entered
  855.              manually.  Most other directives are accessible from
  856.              corresponding items in the configuration dialogs.
  857.  
  858.              If you prefer manual editing, or you want to enter a directive
  859.              which cannot be set from the configuration dialogs, you can
  860.              edit TCMD32.INI with Windows Notepad or any similar ASCII text
  861.              editor.  Be sure to edit only the [TakeCommand] section.
  862.  
  863.              Take Command will not automatically re-read TCMD32.INI when
  864.              you edit it manually.  For manual changes to take effect, you
  865.              must exit Take Command and restart it.
  866.  
  867.  
  868.         TCSTART, TCEXIT, and Startup Commands
  869.  
  870.              Take Command executes two batch files automatically:  TCSTART
  871.              is run whenever Take Command starts, and TCEXIT is run
  872.              whenever Take Command exits.  TCSTART and TCEXIT can be .BAT,
  873.              .CMD, or .BTM files.  TCSTART gives you a convenient way to
  874.              load aliases and environment variables, and otherwise
  875.              initialize Take Command.
  876.  
  877.              If Take Command is started with the [/C] command option (see
  878.              page 11), TCSTART is executed before the command.
  879.  
  880.              See the online help or your Reference Manual for more
  881.              information on TCSTART and TCEXIT.
  882.  
  883.              To run a specific startup batch file or other command when a
  884.              particular Take Command item is started, include the batch
  885.  
  886.         -------------------------------------------------------------------
  887.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  13
  888.                                                   CHAPTER 2 / CONFIGURATION
  889.         -------------------------------------------------------------------
  890.  
  891.  
  892.              file or command name (with a path, if the file is not in the
  893.              startup directory) as the last item in the Command Line field.
  894.              The batch file or command will be executed after any TCSTART
  895.              file but before the first prompt is displayed.
  896.  
  897.              You can use this capability to run a specific batch file or
  898.              command for a particular item (as opposed to TCSTART, which is
  899.              run every time Take Command starts).  When you set up a batch
  900.              file or command to run in this way you are using the command
  901.              startup option (see page 11).
  902.  
  903.              For example, to run C:\STARTUP.BAT when the item starts:
  904.  
  905.                   Command Line:       C:\TCMD\TCMD32.EXE STARTUP.BAT
  906.                   Working directory:  C:\
  907.  
  908.              To execute an internal or external command, an alias, or a
  909.              batch file and then exit (return to the desktop) when it is
  910.              done, place /C command (rather than just command) as the last
  911.              item in the Parameters field.  For example:
  912.  
  913.                   Command Line:       D:\TCMD\TCMD32.EXE /C TEST.BTM
  914.                   Working directory:  C:\
  915.  
  916.  
  917.         Take Command Help
  918.  
  919.              Complete online help for all Take Command commands and
  920.              features is provided with your copy of Take Command.  Help is
  921.              invoked with the HELP command, the F1 key, or the Help menu on
  922.              the menu bar.
  923.  
  924.              When you start the help system, Take Command opens a new
  925.              window to run the standard Windows NT or Windows 95 help
  926.              program.  The help program displays the help text and lets you
  927.              browse through it.
  928.  
  929.              You can keep the help window on the screen and return to the
  930.              Take Command window, switching between the two as needed.
  931.              This may be useful when you are writing a batch file, working
  932.              on a complex command, or experimenting with Take Command.
  933.  
  934.              In order for the Take Command help system to work properly,
  935.              the help file, TCMD32.HLP, must be in the same directory as
  936.              TCMD32.EXE.
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.         -------------------------------------------------------------------
  944.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  14
  945.                                                   CHAPTER 2 / CONFIGURATION
  946.         -------------------------------------------------------------------
  947.  
  948.  
  949.              The Take Command installation program sets up a separate item
  950.              for Take Command help so that you can load the help file
  951.              directly.  To create a similar item manually, use a command
  952.              line like this:
  953.  
  954.                   Command Line:  WINHELP C:\TCMD32\TCMD32.HLP
  955.  
  956.              (Change the drive and path to reflect the location of Take
  957.              Command on your system.)
  958.  
  959.              Take Command also supports the /? switch to display help for
  960.              any command.  Using /? will display help for the command using
  961.              the Windows help system.  For example, to obtain help on the
  962.              COPY command you could use either of these commands:
  963.  
  964.                   c:\> help copy
  965.                   c:\> copy /?
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.         -------------------------------------------------------------------
  1001.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  15
  1002.                                              CHAPTER 3 / Using Take Command
  1003.         -------------------------------------------------------------------
  1004.  
  1005.  
  1006.  
  1007.         CHAPTER 3 / Using Take Command
  1008.  
  1009.  
  1010.         Take Command works like any other Windows NT or Windows 95
  1011.         application or utility, and most of the time you won't need to make
  1012.         any special adjustments for it.  However, as you learn to use Take
  1013.         Command you may want to understand in more detail how it interacts
  1014.         with Windows, Windows applications, and DOS applications.
  1015.  
  1016.         The information in this chapter gives you an overview of these
  1017.         topics; most are covered in more detail in the Reference Manual or
  1018.         online help.  This chapter also discusses using 4DOS and 4DOS/NT
  1019.         batch files and aliases under Take Command.
  1020.  
  1021.  
  1022.         Using a Windows Command Line
  1023.  
  1024.              Take Command is a new environment that lets you perform tasks
  1025.              easily under Windows.  You can use it to execute commands,
  1026.              start applications, and perform other work at the command
  1027.              line.
  1028.  
  1029.              In the past you may have accomplished some of these tasks with
  1030.              4DOS or 4DOS for Windows NT, JP Software's replacement
  1031.              character-mode command processors for DOS and Windows NT.  Or
  1032.              you may have used an "MS-DOS Prompt" session to run the
  1033.              default command processor (CMD.EXE under Windows NT, or
  1034.              COMMAND.COM under Windows 3.x).
  1035.  
  1036.              In either case --- and especially if you are an experienced
  1037.              user of 4DOS or 4DOS for Windows NT --- you'll find plenty of
  1038.              familiar features in Take Command.  You'll also find a lot
  1039.              that's new or different.
  1040.  
  1041.              While Take Command includes most of the command-line, batch
  1042.              file, and other capabilities provided by 4DOS and 4DOS for
  1043.              Windows NT, and goes well beyond those provided by CMD.EXE,
  1044.              the Windows environment places some limitations on how Take
  1045.              Command operates.
  1046.  
  1047.              These limitations mostly affect the use of external programs,
  1048.              especially character-mode and DOS programs.  This topic is
  1049.              covered in detail beginning on page 18.
  1050.  
  1051.              There are some other minor differences between using Take
  1052.              Command and using a 4DOS, 4DOS/NT, or CMD.EXE session under
  1053.              Windows (for example, some keystrokes are interpreted
  1054.              differently to conform more closely to Windows conventions).
  1055.              There are also some considerations when running 4DOS or 4DOS
  1056.  
  1057.         -------------------------------------------------------------------
  1058.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  16
  1059.                                              CHAPTER 3 / Using Take Command
  1060.         -------------------------------------------------------------------
  1061.  
  1062.  
  1063.              for Windows NT batch files or aliases in Take Command/32.  All
  1064.              of these differences are covered in more detail beginning on
  1065.              page 19.
  1066.  
  1067.              Take Command also offers a wide range of new Windows-related
  1068.              features which are not available in 4DOS, 4DOS/NT, or CMD.EXE
  1069.              sessions, including:
  1070.  
  1071.                   * A built-in scrollback buffer that lets you look back
  1072.                     through the output from past commands.
  1073.  
  1074.                   * A standard Windows menu bar for access to many
  1075.                     commonly used Take Command features.
  1076.  
  1077.                   * A status bar showing memory load, date, time, and
  1078.                     keyboard state.
  1079.  
  1080.                   * A customizable tool bar that gives you quick access to
  1081.                     commands and applications.
  1082.  
  1083.                   * Windows dialogs (accessible from the Take Command
  1084.                     Configuration and Utilities menus), for editing
  1085.                     environment variables, aliases, file descriptions, and
  1086.                     startup parameters.
  1087.  
  1088.                   * Direct access to Program Manager or Explorer groups
  1089.                     and items through the Apps menu.
  1090.  
  1091.                   * High-speed, dialog-based file and text search (see
  1092.                     "Find Files / Text" on the Utilities menu).  The FFIND
  1093.                     command gives you the same capabilities at the Take
  1094.                     Command prompt.
  1095.  
  1096.                   * Commands like ACTIVATE, MSGBOX, QUERYBOX, and WINDOW
  1097.                     that allow you to use Windows features and control
  1098.                     Windows applications from your batch files.
  1099.  
  1100.  
  1101.         Take Command and Windows
  1102.  
  1103.              Take Command/32 supports several Windows NT and Windows 95
  1104.              features which enhance the way it works with other
  1105.              applications.  The information below covers most of these
  1106.              features very briefly; for complete details, see the Reference
  1107.              Manual or the topics under the Take Command and Windows
  1108.              heading in the online help.
  1109.  
  1110.                   * You can use the Windows clipboard to copy text onto
  1111.                     the command line, or to transfer text from Take
  1112.                     Command to another application.
  1113.  
  1114.         -------------------------------------------------------------------
  1115.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  17
  1116.                                              CHAPTER 3 / Using Take Command
  1117.         -------------------------------------------------------------------
  1118.  
  1119.  
  1120.                   * Take Command will use Windows' File Associations like
  1121.                     Executable Extensions, to associate data files with
  1122.                     applications.
  1123.  
  1124.                   * Take Command can communicate with Program Manager or
  1125.                     the Explorer to determine what groups and applications
  1126.                     to list on the Apps menu.
  1127.  
  1128.                   * You can use the Windows Drag and Drop feature to
  1129.                     insert file names from other applications onto the
  1130.                     command line.
  1131.  
  1132.                   * Take Command can send messages to other Windows
  1133.                     applications using Dynamic Data Exchange (DDE).  You
  1134.                     can also use DDE to send commands to Take Command from
  1135.                     other applications.
  1136.  
  1137.              Take Command offers several methods for starting Windows
  1138.              applications, some of which go beyond what you may be used to
  1139.              when running programs from the character-mode command line.
  1140.              The search sequence for applications is also slightly
  1141.              different from some other platforms.  For complete details,
  1142.              see Starting Windows Applications in the online help.
  1143.  
  1144.  
  1145.         Character-Mode Applications
  1146.  
  1147.              When you start a DOS or character-mode program under Windows
  1148.              NT or Windows 95 it runs in a "console session."  A console
  1149.              session displays a special type of window without a standard
  1150.              menu bar or other Windows NT features.  It can use a
  1151.              character-mode command processor like 4DOS, 4DOS/NT,
  1152.              COMMAND.COM, or CMD.EXE to perform command line tasks or start
  1153.              other programs.
  1154.  
  1155.              Take Command/32 starts Windows "graphical" applications in
  1156.              their own windows, just as if you had started the application
  1157.              directly from the desktop.  It also creates a console session
  1158.              to run DOS and 32-bit Windows character mode applications.
  1159.  
  1160.              The console session connected to Take Command/32 is created
  1161.              when Take Command starts (this may cause a momentary flicker
  1162.              on your screen during the startup process).  A separate window
  1163.              is created for this session.  You can view this window at any
  1164.              time with the Alt-V key or the View Console selection on the
  1165.              Apps menu.  You can use Alt-V to return to the Take Command/32
  1166.              window, but only when the application in the console window
  1167.              has completed, and the input "focus" has returned to Take
  1168.              Command/32.  You can control the number of lines in the
  1169.              console window with the ConsoleLines directive in TCMD32.INI
  1170.  
  1171.         -------------------------------------------------------------------
  1172.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  18
  1173.                                              CHAPTER 3 / Using Take Command
  1174.         -------------------------------------------------------------------
  1175.  
  1176.  
  1177.              (see the online help for details), or the corresponding option
  1178.              in the configuration dialogs.
  1179.  
  1180.              When you start a DOS or character-mode application from Take
  1181.              Command/32 it is automatically run in this console session (to
  1182.              start a separate session for the application, use the START
  1183.              command).  The console window automatically becomes visible
  1184.              when the application starts, and is hidden when the
  1185.              application exits.  To leave the console window visible after
  1186.              the application exits, use a HideConsoleWindow = No directive
  1187.              in TCMD32.INI, or set the corresponding optio in the
  1188.              configuration dialogs.
  1189.  
  1190.              If you run a DOS or character-mode program which does not exit
  1191.              immediately (for example, a DOS word processor or editor) you
  1192.              will be able to work in the console session, and return
  1193.              automatically to Take Command when you exit the application.
  1194.  
  1195.              However if you run a DOS or character-mode application from
  1196.              Take Command and the application exits quickly, without
  1197.              waiting for any input (for example, a utility like PKUNZIP),
  1198.              you may have to use Alt-V to return to the console window and
  1199.              view the output.
  1200.  
  1201.  
  1202.         Take Command, 4DOS, and 4DOS for Windows NT
  1203.  
  1204.              If you're a 4DOS or 4DOS for Windows NT user, many of the
  1205.              features in Take Command will seem very familiar.  Because the
  1206.              underlying command processing in Take Command/32 is based on
  1207.              4DOS and 4DOS for Windows NT, you'll find the features of
  1208.              those products are readily accessible.  All the commands and
  1209.              switches you've used in 4DOS or 4DOS/NT work the same way and
  1210.              have the same meaning in Take Command; the only exceptions are
  1211.              those that don't make sense outside a character-mode
  1212.              environment.
  1213.  
  1214.              Other 4DOS and 4DOS/NT features are included in Take Command
  1215.              as well --- you'll find support for command line editing,
  1216.              command and directory histories, aliases, .BTM files, and
  1217.              virtually all the other features you already know.
  1218.  
  1219.              Even if you've never used 4DOS, you'll notice plenty of
  1220.              familiar items in Take Command.  Like 4DOS, Take Command is
  1221.              compatible with the default Windows NT command processor
  1222.              (CMD.EXE) and the default Windows 95 command processor
  1223.              (COMMAND.COM), either of which you may have used from the "MS-
  1224.              DOS Prompt" icon, or at the DOS prompt when you aren't running
  1225.              Windows NT or Windows 95.
  1226.  
  1227.  
  1228.         -------------------------------------------------------------------
  1229.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  19
  1230.                                              CHAPTER 3 / Using Take Command
  1231.         -------------------------------------------------------------------
  1232.  
  1233.  
  1234.              There are also a few differences between running under 4DOS
  1235.              (or COMMAND.COM / CMD.EXE) and running under Take Command.
  1236.              The remainder of this section discusses minor differences in
  1237.              the way keystrokes are interpreted by 4DOS and Take Command.
  1238.              It also explains some things to look for when using 4DOS or
  1239.              4DOS/NT batch files and aliases (and CMD.EXE batch files)
  1240.              under Take Command.
  1241.  
  1242.              In order to support the scrollback buffer, some Take
  1243.              Command/32 keystrokes are different from what you may be used
  1244.              to.  In particular, Take Command uses Ctrl-Up Arrow and Ctrl-
  1245.              Down Arrow (rather than Up Arrow and Down Arrow) to scroll
  1246.              through the command history at the prompt, Ctrl-PgUp (rather
  1247.              than PgUp) to open the history window, and F6 (rather than
  1248.              Ctrl-PgUp) to open the directory history window.  The arrow
  1249.              keys and PgUp and PgDn are then used to access the scrollback
  1250.              buffer.
  1251.  
  1252.              If you prefer to reverse this arrangement and use the arrow
  1253.              and PgUp keys to access the command history (as they are used
  1254.              in 4DOS and 4DOS/NT), and the Ctrl- keys to access the
  1255.              scrollback buffer, use the configuration dialogs (accessible
  1256.              from the Options menu) to set the Swap Scrolling Keys option.
  1257.              See SwapScrollKeys (in the TCMD32.INI Configuration Directives
  1258.              in the online help) for additional details.
  1259.  
  1260.              Some command-line editing defaults have also been changed to
  1261.              conform more closely to Windows conventions.  In Take Command
  1262.              the default editing mode is insert, not overtype, and the
  1263.              default insert-mode cursor is a line, not a block.  You can
  1264.              change these defaults via the configuration dialogs or with
  1265.              statements in TCMD32.INI.
  1266.  
  1267.              For complete details on all of the features listed above, see
  1268.              the online help or your Reference Manual (Take Command for
  1269.              4DOS/NT Users in the online help provides links to detailed
  1270.              information on each of these topics).
  1271.  
  1272.  
  1273.              Using Your Batch Files and Aliases
  1274.  
  1275.              As a 4DOS or 4DOS/NT user, you may want to use your 4DOS batch
  1276.              files and aliases with Take Command.  Or, you may want to run
  1277.              batch files developed for CMD.EXE under Take Command.  In
  1278.              general you can run these batch files under Take Command ---
  1279.              but you need to understand how the batch files and aliases
  1280.              operate first.
  1281.  
  1282.              Take Command and 4DOS or 4DOS/NT aliases are separate and
  1283.              independent; Take Command does not automatically "inherit"
  1284.  
  1285.         -------------------------------------------------------------------
  1286.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  20
  1287.                                              CHAPTER 3 / Using Take Command
  1288.         -------------------------------------------------------------------
  1289.  
  1290.  
  1291.              aliases from a previously loaded copy of 4DOS or 4DOS/NT, and
  1292.              it cannot pass aliases on to a copy of 4DOS or 4DOS/NT started
  1293.              from the Take Command prompt.  However, you can load aliases
  1294.              from your Take Command startup batch file (see page 13).
  1295.              These can be the same aliases you use in 4DOS or 4DOS/NT, or a
  1296.              set that is just for Take Command.
  1297.  
  1298.              While many of your 4DOS or 4DOS/NT aliases will work well
  1299.              under Take Command, you'll probably want to create a separate
  1300.              set of Take Command aliases.  This will allow you to account
  1301.              for the differences in running DOS and character-mode
  1302.              applications, and to create new aliases that take advantage of
  1303.              Take Command features which are unavailable in 4DOS or
  1304.              4DOS/NT.
  1305.  
  1306.              If you want to write aliases or batch files that are used in
  1307.              both Take Command and 4DOS, but that behave differently in
  1308.              each environment, use the %_DOS variable to make the
  1309.              distinction.  For example, this batch file fragment uses the
  1310.              INPUT command to accept a string if it is run under 4DOS/NT,
  1311.              but uses the QUERYBOX dialog box if it is run under Take
  1312.              Command:
  1313.  
  1314.                   iff "%_dos" == "WIN32" then
  1315.                        querybox "Enter your name:  " %%name
  1316.                   else
  1317.                        input "Enter your name:  " %%name
  1318.                   endiff
  1319.  
  1320.              Aliases and batch files which simply manipulate files or use
  1321.              other internal commands should work with little or no change
  1322.              under Take Command.  However, as a general rule, you should
  1323.              test any batch file developed for 4DOS, 4DOS/NT or CMD.EXE
  1324.              before assuming it will do exactly what you want under Take
  1325.              Command.  Pay particular attention to batch files which run
  1326.              complex sequences of external programs.
  1327.  
  1328.              If you use aliases or batch files to perform a sequence which
  1329.              mixes internal commands and DOS or character-mode
  1330.              applications, the sequence may not work the way you expect
  1331.              under Take Command.  For example, suppose you have an alias
  1332.              that changes the screen color, starts a DOS application, and
  1333.              then resets the color again.  Because the DOS application will
  1334.              be started in the console window (see page 18) the color
  1335.              changes will not affect it --- a contingency you probably
  1336.              didn't have to consider when you wrote the batch file.
  1337.  
  1338.              You may also find that you want to take advantage of some of
  1339.              the new features of Take Command to improve your batch files.
  1340.              For example, the START command offers additional flexibility
  1341.  
  1342.         -------------------------------------------------------------------
  1343.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  21
  1344.                                              CHAPTER 3 / Using Take Command
  1345.         -------------------------------------------------------------------
  1346.  
  1347.  
  1348.              in starting applications.  MSGBOX and QUERYBOX can be used to
  1349.              create dialog-box input prompts, and KEYSTACK and ACTIVATE
  1350.              will help control your Windows applications.
  1351.  
  1352.              Once you get used to these enhancements and minor differences
  1353.              you'll find that you can use Take Command to manage your
  1354.              system using the same techniques and features you already know
  1355.              from your experience with 4DOS, 4DOS/NT, or CMD.EXE.
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.         -------------------------------------------------------------------
  1400.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  22
  1401.                                                                       Index
  1402.         -------------------------------------------------------------------
  1403.  
  1404.  
  1405.         Index                               Customer Service, 4
  1406.  
  1407.  
  1408.         4DOS for Windows NT                 DDE, 18
  1409.             aliases, 20
  1410.             and Take Command, 16, 19        DOS applications, see
  1411.                 keystroke differences,        Applications
  1412.                   19
  1413.             batch files, 20                 Drag and Drop, 18
  1414.  
  1415.  
  1416.         Aliases, 20                         File associations, 17
  1417.             enhancing, 21
  1418.  
  1419.         Applications                        Help system, 3, 14
  1420.             character-mode, 16, 18              /? option, 14
  1421.             DOS, 16, 18
  1422.             Windows, 18
  1423.                                             Icon, for Take Command, 10
  1424.  
  1425.         Batch files, 20                     INI file., see TCMD32.INI
  1426.             and Windows, 17
  1427.             enhancing, 21                   Installation, 5
  1428.                                                 changes to your system, 6
  1429.         Batch files, startup, 13                manual, 6
  1430.                                                 reversing, 8
  1431.  
  1432.         Clipboard, 17
  1433.                                             Keystrokes, in 4DOS and Take
  1434.         CMD.EXE                               Command, 19
  1435.             and Take Command, 16, 19
  1436.             batch files, 20
  1437.                                             Menus, 17
  1438.         Command history keystrokes, 19
  1439.                                             MS-DOS Prompt, see CMD.EXE
  1440.         Command-line editing, in 4DOS
  1441.           and Take Command, 20
  1442.                                             Options, see Startup Options
  1443.         Commands
  1444.             help on, 14
  1445.             reference information, 3        Program Manager
  1446.             Take Command startup, 12,           and Installation, 6
  1447.               13                                and uninstall, 9
  1448.                                                 groups and applications,
  1449.         Configuration, 8, 12                      17, 18
  1450.             dialogs, 12, 17                     Take Command items, 7, 10
  1451.  
  1452.         Console session, 18
  1453.                                             Quick help, 14
  1454.         CTL3D, 7
  1455.  
  1456.         -------------------------------------------------------------------
  1457.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  23
  1458.                                                                       Index
  1459.         -------------------------------------------------------------------
  1460.  
  1461.  
  1462.  
  1463.  
  1464.         Reference information, 3            Windows, and Take Command, 16,
  1465.                                               17
  1466.         Reference Manual, 3
  1467.                                             Windows, Take Command, 10
  1468.  
  1469.         Scrollback buffer, 17
  1470.             keystrokes for, 19
  1471.  
  1472.         Starting DOS applications, see
  1473.           Applications
  1474.  
  1475.         Starting Take Command, 7, 10
  1476.  
  1477.         Startup
  1478.             commands, 10, 12, 13
  1479.             options, 10, 11
  1480.                 //iniline, 11
  1481.                 /C, 12
  1482.                 @inifile, 11
  1483.  
  1484.         Status bar, 17
  1485.  
  1486.         Support, 4
  1487.  
  1488.  
  1489.         Take Command
  1490.             and Windows, 16, 17
  1491.             Windows-related features,
  1492.               17
  1493.  
  1494.         TCEXIT, 10, 13
  1495.  
  1496.         TCMD32.INI, 8, 12
  1497.             directives, on startup
  1498.               command line, 11
  1499.             location of, 11
  1500.  
  1501.         TCSTART, 10, 13
  1502.             and startup command, 12
  1503.  
  1504.         Technical support, 4
  1505.  
  1506.         Tool bar, 17
  1507.  
  1508.  
  1509.         Uninstalling Take Command, 8
  1510.  
  1511.  
  1512.  
  1513.         -------------------------------------------------------------------
  1514.         Copr. 1995 JP Software Inc.  Take Command/32 Intro./Inst. Guide  24
  1515. 
  1516.